package com.yunji.ylexpiration.mapper;

import com.yunji.ylexpiration.entity.FurnRating;
import com.yunji.ylexpiration.entity.FurnRatingExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface FurnRatingMapper {
    int countByExample(FurnRatingExample example);

    int deleteByExample(FurnRatingExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(FurnRating record);

    int insertSelective(FurnRating record);

    List<FurnRating> selectByExample(FurnRatingExample example);

    FurnRating selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") FurnRating record, @Param("example") FurnRatingExample example);

    int updateByExample(@Param("record") FurnRating record, @Param("example") FurnRatingExample example);

    int updateByPrimaryKeySelective(FurnRating record);

    int updateByPrimaryKey(FurnRating record);
}